Optimal. Leaf size=150 \[ \frac {\sqrt {\sqrt {b^2-4 a c}+b} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {2} \sqrt {c} \sqrt {b^2-4 a c}}-\frac {\sqrt {b-\sqrt {b^2-4 a c}} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \sqrt {c} \sqrt {b^2-4 a c}} \]
________________________________________________________________________________________
Rubi [A] time = 0.09, antiderivative size = 150, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.150, Rules used = {1585, 1130, 205} \begin {gather*} \frac {\sqrt {\sqrt {b^2-4 a c}+b} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {2} \sqrt {c} \sqrt {b^2-4 a c}}-\frac {\sqrt {b-\sqrt {b^2-4 a c}} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \sqrt {c} \sqrt {b^2-4 a c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 205
Rule 1130
Rule 1585
Rubi steps
\begin {align*} \int \frac {x^3}{a x+b x^3+c x^5} \, dx &=\int \frac {x^2}{a+b x^2+c x^4} \, dx\\ &=-\left (\frac {1}{2} \left (-1+\frac {b}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx\right )+\frac {1}{2} \left (1+\frac {b}{\sqrt {b^2-4 a c}}\right ) \int \frac {1}{\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx\\ &=-\frac {\sqrt {b-\sqrt {b^2-4 a c}} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \sqrt {c} \sqrt {b^2-4 a c}}+\frac {\sqrt {b+\sqrt {b^2-4 a c}} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \sqrt {c} \sqrt {b^2-4 a c}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.08, size = 165, normalized size = 1.10 \begin {gather*} \frac {\left (\sqrt {b^2-4 a c}-b\right ) \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {2} \sqrt {c} \sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}+\frac {\sqrt {\sqrt {b^2-4 a c}+b} \tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {2} \sqrt {c} \sqrt {b^2-4 a c}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^3}{a x+b x^3+c x^5} \, dx \end {gather*}
Verification is not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
fricas [B] time = 1.39, size = 559, normalized size = 3.73 \begin {gather*} \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {-\frac {b + \frac {b^{2} c - 4 \, a c^{2}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}}}{b^{2} c - 4 \, a c^{2}}} \log \left (\frac {\sqrt {\frac {1}{2}} {\left (b^{2} c - 4 \, a c^{2}\right )} \sqrt {-\frac {b + \frac {b^{2} c - 4 \, a c^{2}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}}}{b^{2} c - 4 \, a c^{2}}}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}} + x\right ) - \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {-\frac {b + \frac {b^{2} c - 4 \, a c^{2}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}}}{b^{2} c - 4 \, a c^{2}}} \log \left (-\frac {\sqrt {\frac {1}{2}} {\left (b^{2} c - 4 \, a c^{2}\right )} \sqrt {-\frac {b + \frac {b^{2} c - 4 \, a c^{2}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}}}{b^{2} c - 4 \, a c^{2}}}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}} + x\right ) - \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {-\frac {b - \frac {b^{2} c - 4 \, a c^{2}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}}}{b^{2} c - 4 \, a c^{2}}} \log \left (\frac {\sqrt {\frac {1}{2}} {\left (b^{2} c - 4 \, a c^{2}\right )} \sqrt {-\frac {b - \frac {b^{2} c - 4 \, a c^{2}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}}}{b^{2} c - 4 \, a c^{2}}}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}} + x\right ) + \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {-\frac {b - \frac {b^{2} c - 4 \, a c^{2}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}}}{b^{2} c - 4 \, a c^{2}}} \log \left (-\frac {\sqrt {\frac {1}{2}} {\left (b^{2} c - 4 \, a c^{2}\right )} \sqrt {-\frac {b - \frac {b^{2} c - 4 \, a c^{2}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}}}{b^{2} c - 4 \, a c^{2}}}}{\sqrt {b^{2} c^{2} - 4 \, a c^{3}}} + x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [B] time = 1.81, size = 503, normalized size = 3.35 \begin {gather*} -\frac {{\left (2 \, b^{2} c^{2} - 8 \, a c^{3} - \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} b^{2} + 4 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} a c + 2 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} b c - \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c + \sqrt {b^{2} - 4 \, a c} c} c^{2} - 2 \, {\left (b^{2} - 4 \, a c\right )} c^{2}\right )} \arctan \left (\frac {2 \, \sqrt {\frac {1}{2}} x}{\sqrt {\frac {b + \sqrt {b^{2} - 4 \, a c}}{c}}}\right )}{2 \, {\left (b^{4} - 8 \, a b^{2} c - 2 \, b^{3} c + 16 \, a^{2} c^{2} + 8 \, a b c^{2} + b^{2} c^{2} - 4 \, a c^{3}\right )} {\left | c \right |}} + \frac {{\left (2 \, b^{2} c^{2} - 8 \, a c^{3} - \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} b^{2} + 4 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} a c + 2 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} b c - \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {b c - \sqrt {b^{2} - 4 \, a c} c} c^{2} - 2 \, {\left (b^{2} - 4 \, a c\right )} c^{2}\right )} \arctan \left (\frac {2 \, \sqrt {\frac {1}{2}} x}{\sqrt {\frac {b - \sqrt {b^{2} - 4 \, a c}}{c}}}\right )}{2 \, {\left (b^{4} - 8 \, a b^{2} c - 2 \, b^{3} c + 16 \, a^{2} c^{2} + 8 \, a b c^{2} + b^{2} c^{2} - 4 \, a c^{3}\right )} {\left | c \right |}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.01, size = 208, normalized size = 1.39 \begin {gather*} \frac {\sqrt {2}\, b \arctanh \left (\frac {\sqrt {2}\, c x}{\sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{2 \sqrt {-4 a c +b^{2}}\, \sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}+\frac {\sqrt {2}\, b \arctan \left (\frac {\sqrt {2}\, c x}{\sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{2 \sqrt {-4 a c +b^{2}}\, \sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}-\frac {\sqrt {2}\, \arctanh \left (\frac {\sqrt {2}\, c x}{\sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{2 \sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}+\frac {\sqrt {2}\, \arctan \left (\frac {\sqrt {2}\, c x}{\sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{2 \sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{3}}{c x^{5} + b x^{3} + a x}\,{d x} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 2.21, size = 416, normalized size = 2.77 \begin {gather*} -2\,\mathrm {atanh}\left (\frac {\left (x\,\left (4\,a\,c^2-2\,b^2\,c\right )+\frac {x\,\left (8\,b^3\,c^2-32\,a\,b\,c^3\right )\,\left (b^3+\sqrt {-{\left (4\,a\,c-b^2\right )}^3}-4\,a\,b\,c\right )}{8\,\left (16\,a^2\,c^3-8\,a\,b^2\,c^2+b^4\,c\right )}\right )\,\sqrt {-\frac {b^3+\sqrt {-{\left (4\,a\,c-b^2\right )}^3}-4\,a\,b\,c}{8\,\left (16\,a^2\,c^3-8\,a\,b^2\,c^2+b^4\,c\right )}}}{a\,c}\right )\,\sqrt {-\frac {b^3+\sqrt {-{\left (4\,a\,c-b^2\right )}^3}-4\,a\,b\,c}{8\,\left (16\,a^2\,c^3-8\,a\,b^2\,c^2+b^4\,c\right )}}-2\,\mathrm {atanh}\left (\frac {\left (x\,\left (4\,a\,c^2-2\,b^2\,c\right )-\frac {x\,\left (8\,b^3\,c^2-32\,a\,b\,c^3\right )\,\left (\sqrt {-{\left (4\,a\,c-b^2\right )}^3}-b^3+4\,a\,b\,c\right )}{8\,\left (16\,a^2\,c^3-8\,a\,b^2\,c^2+b^4\,c\right )}\right )\,\sqrt {\frac {\sqrt {-{\left (4\,a\,c-b^2\right )}^3}-b^3+4\,a\,b\,c}{8\,\left (16\,a^2\,c^3-8\,a\,b^2\,c^2+b^4\,c\right )}}}{a\,c}\right )\,\sqrt {\frac {\sqrt {-{\left (4\,a\,c-b^2\right )}^3}-b^3+4\,a\,b\,c}{8\,\left (16\,a^2\,c^3-8\,a\,b^2\,c^2+b^4\,c\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.82, size = 75, normalized size = 0.50 \begin {gather*} \operatorname {RootSum} {\left (t^{4} \left (256 a^{2} c^{3} - 128 a b^{2} c^{2} + 16 b^{4} c\right ) + t^{2} \left (- 16 a b c + 4 b^{3}\right ) + a, \left (t \mapsto t \log {\left (64 t^{3} a c^{2} - 16 t^{3} b^{2} c - 2 t b + x \right )} \right )\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________